package com.ruoyi.business.goods.domain;

import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.business.base.JoBaseEntity;
import lombok.Data;

/**
 * 套餐对象 jb_package_main
 *
 * @author ruoyi
 * @date 2024-10-11
 */
@Data
public class JbPackageMain extends JoBaseEntity
{
    private static final long serialVersionUID = 1L;

    /**
     * 套餐商品
     */
    @TableField(exist = false)
    private List<JbPackageCommodity> commodityList;

    /**
     * 价格规则
     */
    @TableField(exist = false)
    private List<JbPackageOfflinePrice> offlinePriceList;

    /**
     * 套餐名称
     */
    @Excel(name = "套餐名称")
    private String packageName;

    /**
     * 套餐价格
     */
    @Excel(name = "套餐价格")
    private BigDecimal packagePrice;

    /**
     * 商品种类
     */
    @Excel(name = "商品种类")
    private String productCategory;

    /**
     * 销售渠道
     */
    @Excel(name = "销售渠道")
    private String salesChannel;

    /**
     * 整件数量
     */
    @Excel(name = "整件数量")
    private Long total;

    /**
     * 状态（0正常 1停用）
     */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private Long status;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;
}
